package com.sskj.b70.v.activity;

import com.roughike.bottombar.BottomBar;
import com.sskj.b70.R;
import com.sskj.b70.p.base.BasePresenter;
import com.sskj.b70.v.base.BaseActivity;

/**
 * create by Hey at 2018/5/3 18:45
 */
public class NewMainActivity extends BaseActivity<BasePresenter> {


    @Override
    protected int getLayoutResId() {
        return R.layout.activity_new_main;
    }

    @Override
    public BasePresenter getPresenter() {
        return new BasePresenter();
    }

    @Override
    protected void initView() {
        BottomBar bottomBar =  findViewById(R.id.bottomBar);
        bottomBar.setOnTabSelectListener(tabId -> {

        });
        bottomBar.setTabSelectionInterceptor((oldTabId, newTabId) -> {
            return false;
        });

    }
}
